class Monkey(object):
    def __init__(self,name):
        self.name = name


    def __str__(self):
        return "猴子大王"

monkey = Monkey("孙悟空")
print(monkey)













